package com.yykj.hospital.server.dto.banci.doctor.client;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yykj.common.util.serializer.LocalTime2StringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalTime;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class DoctorTimeAppointment {
    @ApiModelProperty("开始时间")
    @JsonSerialize(using = LocalTime2StringSerializer.class)
    private LocalTime startTime;
    @ApiModelProperty("结束时间")
    @JsonSerialize(using = LocalTime2StringSerializer.class)
    private LocalTime endTime;
    @ApiModelProperty("级别ID")
    private Integer levelId;
    @ApiModelProperty("级别名称")
    private String levelName;
    @ApiModelProperty("号源剩余数量")
    private Integer remain = 0;
    @ApiModelProperty("号源总数量")
    private Integer total = 0;
}
